let a: Array<number> = [];
//output: let a: number[] = [];

let a: Array<string | number> = [];
//output: let a: (string | number)[] = [];

let a: ReadonlyArray<number> = [];
//output: let a: readonly number[] = [];

let a: readonly (string | number)[] = [];
//output: let a: ReadonlyArray<string | number> = [];